﻿CREATE TABLE [dbo].[JobLevel] (
    [JobId]   UNIQUEIDENTIFIER NOT NULL,
    [LevelId] INT              NOT NULL,
    CONSTRAINT [PK_JobLevel] PRIMARY KEY CLUSTERED ([JobId] ASC, [LevelId] ASC),
    CONSTRAINT [FK_JobLevel_Job] FOREIGN KEY ([JobId]) REFERENCES [dbo].[Job] ([JobId]),
    CONSTRAINT [FK_JobLevel_Level] FOREIGN KEY ([LevelId]) REFERENCES [dbo].[Level] ([LevelId])
);

